//
//  SINAPhotoPopView.h
//  sinashebao
//
//  Created by  androidlongs on 2017/12/28.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SINAStudentServiceItemModel.h"



typedef void(^SINAPhotoPopViewCreate)(void);

//flag 0 接受 1委托
//pageUid 服务类型pid
//model  数据模型
typedef void(^SINAPhotoPopViewSelect)(NSInteger flag,NSString* pageUid,NSString* pageTypeString,SINAStudentServiceItemModel* itemServiceModel);


typedef void(^SINAPhotoPopViewSave)(void);



@interface SINAStudentServiceItemPop : UIView
@property (nonatomic, strong) UIView *contentView;
@property (nonatomic, copy) SINAPhotoPopViewSave savePhopeBlock;
@property (nonatomic, copy) SINAPhotoPopViewCreate creatPhopeBlock;
@property (nonatomic, copy) SINAPhotoPopViewSelect selectPhopeBlock;

//类型
@property(assign,nonatomic) NSInteger pageType;
//类别
@property(assign,nonatomic) NSInteger pageStute;
//数据
@property(strong,nonatomic)SINAStudentServiceItemModel *model;
@property(strong,nonatomic)NSString *pageUid;
@property(strong,nonatomic)NSString *pageTypeString;
/**
 *  pickerView的显示
 */
- (void)show;

/**
 *  移除pickerView
 */
- (void)disMiss;

//pageType 0 1 2 3
//pageStatue 0校内兼职  1寻找达人
-(instancetype) initWithPageType:(NSInteger)pageType andWithPageStatue:(NSInteger)pageStatue;

@end
